//
//  ZZFactory.h
//  ShrimpCrowdordering
//
//  Created by 郑洲 on 2018/8/22.
//  Copyright © 2018年 郑洲. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface ZZFactory : NSObject

//UILabel
+ (UILabel *)createLabel:(CGRect)frame andFont:(UIFont *)font andTextColor:(UIColor *)color andTextAligment:(NSTextAlignment)textAlignment andString:(NSString *)str;

+ (UILabel *)createLabel:(CGRect)frame andFont:(UIFont *)font andTextColor:(UIColor *)color andTextAligment:(NSTextAlignment)textAlignment;

+ (UILabel *)createLabel:(CGRect)frame andFont:(UIFont *)font andTextColor:(UIColor *)color;

//UIImageVIew
+ (UIImageView *)createImageView:(CGRect)frame andImageNamed:(NSString *)image andCornerRadius:(CGFloat)cornerRadius;

@end
